/**
 * 路由配置 动态生成而成
 */

export default {

    template: {
        // 需要放在最顶部，勿动
        common: {
            404: {
                comLoad: function (resolve) {
                    require(['./pages/common/404.vue'], resolve);
                },
                metaInfo: {
                    title: '404页面'
                },
                css: [],
                js: [],
            },

            busy: {
                comLoad: function (resolve) {
                    require(['./pages/common/busy.vue'], resolve);
                },
                metaInfo: {
                    title: '错误页面'
                },
                css: [],
                js: [],
            }
        },

        // PK
        answerpk: {
            index: {
                comLoad: function (resolve) {
                    require(['./pages/answerpk/index.vue'], resolve);
                },

                metaInfo: {
                    title: 'PK答题'
                },
                css: ['answerpk/css/style.css'],
                js: ['answerpk/module/modal.min.js'],
            },
            // pk: {
            //     comLoad: function (resolve) {
            //         require(['./pages/answerpk/pk.vue'], resolve);
            //     },
            //
            //     metaInfo: {
            //         title: 'PK答题'
            //     },
            //     css: ['answerpk/css/style.css'],
            //     js: ['answerpk/module/progressbar.js', 'answerpk/module/jquery.util.js'],
            // },
            // pk_invite: {
            //     comLoad: function (resolve) {
            //         require(['./pages/answerpk/pk_invite.vue'], resolve);
            //     },
            //
            //     metaInfo: {
            //         title: 'PK答题'
            //     },
            //     css: ['answerpk/css/style.css'],
            //     js: ['answerpk/module/modal.min.js', 'answerpk/module/jquery.util.js'],
            // },
            // pk_random: {
            //     comLoad: function (resolve) {
            //         require(['./pages/answerpk/pk_random.vue'], resolve);
            //     },
            //
            //     metaInfo: {
            //         title: 'PK答题'
            //     },
            //     css: ['answerpk/css/style.css'],
            //     js: ['answerpk/module/modal.min.js', 'answerpk/module/jquery.util.js'],
            // },
            // result: {
            //     comLoad: function (resolve) {
            //         require(['./pages/answerpk/result.vue'], resolve);
            //     },
            //
            //     metaInfo: {
            //         title: 'PK答题'
            //     },
            //     css: ['answerpk/css/style.css'],
            //     js: ['answerpk/module/progressbar.js', 'answerpk/module/jquery.util.js', 'answerpk/module/modal.min.js'],
            // },
            // guide: {
            //     comLoad: function (resolve) {
            //         require(['./pages/answerpk/guide.vue'], resolve);
            //     },
            //
            //     metaInfo: {
            //         title: 'PK答题'
            //     },
            //     css: ['answerpk/guide/css/style.css', 'answerpk/guide/css/guide.css'],
            //     js: [],
            // },
        },

    },

    /**
     * 不需要登陆的模块名称
     * @type {Object}
     */
    notneedLogins: []

}










